package buffbuildergui;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import java.util.ArrayList;

import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRootPane;
import javax.swing.JScrollPane;
import javax.swing.ListSelectionModel;
import javax.swing.border.LineBorder;

public class AbilityPanel extends EntityPanel{
        
    public AbilityPanel(String name,Ability abilityToAttach,EntityPanel paren) {    
        super(name,abilityToAttach,paren);
        
        setBackground(new Color(0,200,0));
        
        OutPort out = new OutPort(5,OutPort.eIA,this);// instant actions
        out.setBackground(new Color(51, 153, 0));
        outies.add(out);
        add(out);
        out.setBounds(260,40,25,40);
    }
}